/* HERO */
.hero {
  background-image: url('/sites/experience/Style Library/Experience/assets/ambientes/bg-ambientes.jpg');
  /* background-size: cover; */
  /* background-position: center; */
  background-repeat: no-repeat;
  width: 100%;
  min-height: 56.7rem;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 8rem 0 30rem;
}

.hero .container > div {
  width: 100%;
  max-width: 58.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--white);
}

.hero .container > div p {
  font-size: 1.8rem;
  line-height: 3rem;
}

.hero .container > div h1 {
  font-family: 'Fira Sans Extra Condensed', sans-serif;
  font-weight: 600;
  font-size: 6.4rem;
  line-height: 7.7rem;
}

.hero .container > img {
  width: 100%;
  max-width: 31.7rem;
}

.hero .bg-ambientes-branco {
  background-image: url('/sites/experience/Style Library/Experience/assets/ambientes/paper-crop-top.png');
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 26.5rem;
  margin-top: -27rem;
}

@media (max-width: 1280px) {
  .hero .container {
    padding: 8rem 3rem 30rem;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
  }

  .hero .container > img {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero .container {
    padding: 4.5rem 3rem 14rem;
  }

  .hero .container > div p {
    font-size: 1.6rem;
  }

  .hero .container > div h1 {
    font-size: 5.6rem;
    line-height: 6.7rem;
  }
}

/* FILTROS E AMBIENTES */
.filtros-e-ambientes {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  margin-top: 8rem;
  margin-bottom: 8rem;
}

.filtros {
  width: 100%;
  max-width: 27rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.filtros .form-grupo {
  display: flex;
  flex-direction: column;
}

.filtros .form-grupo label {
  font-size: 1.4rem;
  line-height: 2.4rem;
  letter-spacing: 0.05rem;
  color: var(--gray-9);
}

.filtros .form-grupo select,
.filtros .form-grupo input {
  line-height: 2.2rem;
  letter-spacing: 0.05rem;
  padding: 1.4rem 1rem;
  border-radius: 3px;
  border: 1px solid var(--input-borda);
  color: var(--textos);
  background-color: var(--white);
}

.filtros .form-grupo input::placeholder,
.filtros .form-grupo select {
  color: var(--placeholder);
}

.filtros .form-grupo input:focus-within,
.filtros .form-grupo select:focus-within {
  outline: 1px solid var(--input-borda);
}

.filtros .filtros-selecionados {
  display: none;
  cursor: default;
  margin-top: 1.5rem;
  margin-bottom: -1rem;
}

.filtros .filtros-selecionados p {
  font-weight: 500;
}

.filtros .filtros-selecionados p,
.filtros .filtros-selecionados label {
  font-size: 1.4rem;
  line-height: 2.4rem;
  letter-spacing: 0.05rem;
  color: var(--gray-9);
}

.filtros .filtros-selecionados label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.filtros .filtros-selecionados label input {
  accent-color: var(--azul);
  margin-right: 0.8rem;
}

.filtros .filtros-selecionados > div {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filtros button {
  width: 100%;
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.8rem;
  letter-spacing: 1px;
  color: var(--white) !important;
  padding: 1.6rem 0;
  border-radius: 5px;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.filtros button.aplicar-filtros-btn {
  background-color: var(--azul) !important;
}

.filtros button.aplicar-filtros-btn:not(:disabled):hover {
  color: var(--azul) !important;
  border: 1px solid var(--azul) !important;
  background-color: var(--white) !important;
}

.filtros button.aplicar-filtros-btn:disabled {
  background-color: var(--placeholder) !important;
  cursor: not-allowed;
}

.filtros button.limpar-filtros-btn {
  background-color: var(--placeholder) !important;
  display: none;
}

.filtros button.limpar-filtros-btn:hover {
  filter: brightness(1.1) !important;
}

.ambientes {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.ambientes .ambientes-mensagem-erro {
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 2.4rem;
  letter-spacing: 0.05rem;
  color: #d11200;
  text-align: center;
}

.ambientes details {
  padding: 2rem 0;
  border-bottom: 1px solid var(--ambientes-borda);
}

.ambientes details[open] {
  border-bottom: none;
}

.ambientes details:first-child {
  padding-top: 0;
}

.ambientes details summary {
  font-family: 'Fira Sans Extra Condensed', sans-serif;
  font-size: 3.6rem;
  font-weight: 600;
  line-height: 4.32rem;
  color: var(--azul);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.ambientes details[open] summary {
  border-bottom: 1px solid var(--ambientes-borda);
  padding-bottom: 2rem;
}

.ambientes details summary:hover {
  cursor: pointer;
}

.ambientes details summary > img {
  width: 100%;
  max-width: 2.5rem;
  transition: transform 0.2s;
}

.ambientes details[open] summary > img {
  transform: rotate(180deg);
}

.ambientes details > ul {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2.5rem;
  cursor: default;
}

.ambientes details > ul > li {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 3rem;
  border: 1px solid var(--gray-02);
  border-radius: 3px;
}

.ambientes details > ul > li strong {
  font-family: 'Fira Sans Condensed', sans-serif;
  font-weight: 500;
  line-height: 2.2rem;
  letter-spacing: 0.05rem;
  color: var(--gray-9);
}

.ambientes details > ul > li span {
  display: block;
  width: 100%;
  max-width: 6.15rem;
  height: 1px;
  background-color: var(--ambientes-borda);
}

.ambientes details > ul > li span.ecs {
  background-color: var(--ecs);
}

.ambientes details > ul > li span.ecjs {
  background-color: var(--ecjs);
}

.ambientes details > ul > li span.enec {
  background-color: var(--enec);
}

.ambientes details > ul > li span.ep {
  background-color: var(--ep);
}

.ambientes details > ul > li p {
  font-size: 1.4rem;
  line-height: 2.4rem;
  letter-spacing: 0.05rem;
  color: var(--paragrafos);
}

.ambientes details > ul > li > div > ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.ambientes details > ul > li > div > ul > li {
  font-size: 1.4rem;
  line-height: 1.8rem;
  letter-spacing: 0.05rem;
  color: var(--gray-9);
}

.ambientes details > ul > li > div > ul > li::after {
  content: '•';
  margin-left: 1rem;
  color: var(--azul);
}

.ambientes details > ul > li > div > ul > li:last-child::after {
  content: '';
}

@media (max-width: 1024px) {
  .filtros-e-ambientes {
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    margin: 0;
  }

  .filtros {
    max-width: 100%;
  }

  .filtros button {
    max-width: 27rem;
    align-self: center;
  }

  .filtros .filtros-selecionados {
    margin: 0 auto;
    width: 100%;
    max-width: 27rem;
  }
}

@media (max-width: 768px) {
  .ambientes details summary {
    font-size: 3.2rem;
  }

  .ambientes details summary > img {
    max-width: 2rem;
  }
}

@media (max-width: 640px) {
  .ambientes details summary {
    font-size: 2.8rem;
    line-height: 3.3rem;
  }
}

@media (max-width: 480px) {
  .filtros button,
  .filtros .filtros-selecionados {
    max-width: 100%;
  }
}
